package io.renren.modules.newBackground.shanghaiCmcc.controller;


import io.renren.modules.newBackground.shanghaiCmcc.dto.ShangHaiBackgroundUnsubscribeReq;
import io.renren.modules.newBackground.shanghaiCmcc.service.ShangHaiCmccBackgroundService;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("background/shanghaiCmcc")
@Api(tags="上海移动后台接口")
@AllArgsConstructor
public class ShangHaiCmccBackgroundController {
    private static final Logger logger = LoggerFactory.getLogger(ShangHaiCmccBackgroundController.class);

    private final ShangHaiCmccBackgroundService shangHaiCmccBackgroundService;

    @PostMapping("/queryUnsubscribe")
    public void queryUnsubscribe(@RequestBody ShangHaiBackgroundUnsubscribeReq backgroundUnsubscribeReq){
        shangHaiCmccBackgroundService.queryUnsubscribe(backgroundUnsubscribeReq);
    }
}
